import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 引入vant组件库
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

// 引入axios
import axios from 'axios'
Vue.prototype.$axios=axios

// 引入element组件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import http from "./http/http.js";
Vue.prototype.$http = http;
//全局引入http方法

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
